package com.hpjpw.ido.mapper;

import java.util.List;
import com.hpjpw.ido.domain.ResumeReceived;

/**
 * 简历记录Mapper接口
 * 
 * @author hpj
 * @date 2021-04-17
 */
public interface ResumeReceivedMapper 
{
    /**
     * 查询简历记录
     * 
     * @param id 简历记录ID
     * @return 简历记录
     */
    public ResumeReceived selectResumeReceivedById(Long id);

    /**
     * 查询简历记录列表
     * 
     * @param resumeReceived 简历记录
     * @return 简历记录集合
     */
    public List<ResumeReceived> selectResumeReceivedList(ResumeReceived resumeReceived);

    /**
     * 新增简历记录
     * 
     * @param resumeReceived 简历记录
     * @return 结果
     */
    public int insertResumeReceived(ResumeReceived resumeReceived);

    /**
     * 修改简历记录
     * 
     * @param resumeReceived 简历记录
     * @return 结果
     */
    public int updateResumeReceived(ResumeReceived resumeReceived);

    /**
     * 修改简历记录状态
     *
     * @param resumeReceivedId 简历记录id
     * @param state 状态
     * @return 结果
     */
    public int updateResumeReceivedState(Long resumeReceivedId,Long state);
    /**
     * 删除简历记录
     * 
     * @param id 简历记录ID
     * @return 结果
     */
    public int deleteResumeReceivedById(String id);

    /**
     * 批量删除简历记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteResumeReceivedByIds(String[] ids);
}
